<template>
  <div class="home">首页</div>
</template>

<script>
import useRoleInfo from '@/store/roleInfo.js'
import { defineComponent, onMounted } from 'vue'
export default defineComponent({
  setup() {
    const roleInfo = useRoleInfo()
    onMounted(() => {
      // console.log(roleInfo.isLogin)
    })
  }
})
</script>

<style scoped lang="less">
.home {
  color: black;
}
</style>
